﻿// --------------------------------------------------------------------------------------------------------------------
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
// <Credits>
// Peter Torr
// http://blogs.msdn.com/b/ptorr/archive/2010/10/12/procrastination-ftw-lazylistbox-should-improve-your-scrolling-performance-and-responsiveness.aspx
// </Credits>
// --------------------------------------------------------------------------------------------------------------------
namespace WP7Contrib.View.Controls
{
    using System;

    /// <summary>
  /// Arguments for the <see cref="ILazyDataItem.PauseStateChanged"/> event
  /// </summary>
  public class LazyDataItemPausedStateChangedEventArgs : EventArgs
  {
    /// <summary>
    /// Whether the item is paused or not
    /// </summary>
    public bool IsPaused { get; private set; }

    /// <summary>
    /// Creates a new instance
    /// </summary>
    /// <param name="isPaused">The paused state of the item</param>
    public LazyDataItemPausedStateChangedEventArgs(bool isPaused)
    {
      IsPaused = isPaused;
    }
  }
}
